home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / libsrc / m / src / asinh.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-20  |  115 b   |  8 lines

  1. #include <math.h>
  2.  
  3. double asinh(double x)
  4. {
  5.   return x>0 ? log(x + sqrt(x*x + 1)) : -log(sqrt(x*x+1)-x);
  6. }
  7.  
  8.